package com.panshi.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

@Data
@ApiModel(value = "包装实体类")
public class ResultVO<T> implements Serializable {

    @ApiModelProperty(value = "token")
    private String token;

    @ApiModelProperty(value = "报错序号")
    private String code = "0";

    @ApiModelProperty(value = "报错提示")
    private String msg = "";

    @ApiModelProperty(value = "回调数据")
    private T data;

    @ApiModelProperty(value = "总记录数")
    private int count;
}
